 |
 |
 |
 |
#274605 - 06/02/04 09:44 PM
Finished-[6.5] More Mod Powers
|
Old Hand
Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
|
Mod Name / Version: More Mod Powers <br /> <br />Description: With the advent of 6.5b1 they left out alot of the mod powers that a mod should or shouldn;t have. this is a totally personal choice. <br /> <br />This mod includes <br /> <br />* Adding the Control Panel Link for Moderators <br />* Full Member Management <br />* Forum Settings for the forums they are Moderators of <br />* Approve Posts <br />* Move Topics <br />* Prune Topics <br />* Lock Topic <br />* Unlock Topic <br />* Send PMs to Groups <br /> <br />All from the Moderators Control Panel <br /> <br />**NOT FOR THE INEXPERIENCED** <br /> <br /> <br />Working Under: UBB.Threads 6.5 <br /> <br />Mod Status: Finished <br /> <br />Any pre-requisites: <br /> <br />Author(s): scroungr <br /> <br />Date: 06/02/04 <br /> <br />Credits: JoshPet for the original PM to groups coding which I adapted to 6.5 <br /> <br />Files Altered: ubbt.inc.php, /admin/login.php, /templates/default/admin/login.tmpl, /admin/membermanage.php, /admin/membersearch.php, /templates/default/admin/showuser.tmpl, /admin/doapprovedn.php, /admin/doupdatebanlists.php, /admin/doapproveusers.php, /admin/memberaction.php, /admin/dochangeusergroups.php, /admin/doemailusers.php, /admin/doexportemails.php, /admin/dosendemails.php, /templates/default/admin/admin_modmenu.tmpl, /admin/forummanage.php, /templates/default/admin/forummanage.tmpl, /admin/viewboard.php, /templates/default/admin/viewboard.tmpl, /admin/doeditboard.php, /templates/default/admin/admin_modmenu.tmpl, /languages/english/admin/generic.php, /admin/approveposts.php, /admin/login.php, , /admin/doapproveposts.php, /admin/movethreads.php, /admin/selectmovethreads.php, /admin/selectmovethreads.php, /admin/savemovethreads.php, /admin/domovethreads.php, , /admin/prunethreads.php, /admin/saveprunethreads.php, /admin/selectprunethreads.php, /admin/doprunethreads.php, donotifymod.php, languages/english/donotifymod.php, online.php, /templates/default/admin/admin_adminmenu.tmpl <br /> <br />New Files: viewcthreads.php <br />doopenthreads.php <br />viewothreads.php <br />doclosedthreads.php <br />viewcthreads.php <br />viewothreads.php <br />viewcthreads.tmpl <br />viewothreads.tmpl <br />sendgrouppm.php <br />dosendgrouppm.php <br />sendgrouppm.tmpl <br />dosendgrouppm.tmpl <br />dosendgrouppm_confirm.tmpl <br /> <br /> <br /> <br />Database Altered: No <br /> <br />Info/Instructions: <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files. <br /> <br />updated for 6.5br4
Attachments
114638-[6.5]MoreModPowers.zip (107 downloads)
Edited by scroungr (07/03/04 08:55 PM)
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#274623 - 12/27/04 12:58 PM
Re: Finished-[6.5] More Mod Powers
[Re: 234234]
|
Coder
Registered: 07/03/01
Posts: 811
Loc: Berlin, Germany
|
this hack must be a little bit improved for 6.5.1<br />I see some problems with admin/movethreads.php and admin/prunethreads.php. I dont know how to adapt the query in the section <br />// Get the list of forums<br /><br />The beta code:<br />// Get the list of forums<br />$query = "<br /> SELECT t1.Bo_Title,t1.Bo_Number,t1.Bo_Cat,t1.Bo_Sorter,t1.Bo_CatName,t1.Bo_Keyword<br /> FROM {$config['tbprefix']}Boards AS t1,<br /> {$config['tbprefix']}Category AS t2<br /> WHERE t1.Bo_Cat = t2.Cat_Entry<br /> ORDER BY t2.Cat_Number,t1.Bo_Sorter<br />";<br /><br />your code from this hack:<br />// Get the list of forums<br />if ( $user['U_Status'] == "Administrator" ) {<br />$query = "<br /> SELECT Bo_Title,Bo_Number,Bo_Cat,Bo_Sorter,Bo_CatName,Bo_Keyword<br /> FROM {$config['tbprefix']}Boards<br /> ORDER BY Bo_Cat,Bo_Sorter<br /> ";<br />}<br />else {<br /> $query = "<br /> SELECT Bo_Title,Bo_Number,Bo_Cat,Bo_Sorter,Bo_CatName,Bo_Keyword<br /> FROM {$config['tbprefix']}Boards AS t1,<br /> {$config['tbprefix']}Moderators AS t2<br /> WHERE t2.Mod_Uid = '$user[U_Number]'<br /> AND t2.Mod_Board = t1.Bo_Keyword<br /> ORDER BY Bo_Cat,Bo_Sorter<br />";<br />}
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#274629 - 01/12/05 12:36 PM
Re: Finished-[6.5] More Mod Powers
[Re: 234234]
|
Coder
Registered: 07/03/01
Posts: 811
Loc: Berlin, Germany
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#274644 - 06/08/05 09:47 AM
Re: Finished-[6.5] More Mod Powers
[Re: 234234]
|
Lurker
Registered: 04/07/05
Posts: 5
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|